AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 176
Dependencies 37
Dependents 0
Total lines 1,012
Lines of code 611
Logical lines of code 281
Comment lines 202
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
processBooking()
D
32 32 92
finalize()
C
31 23 117
processRequest()
C
38 25 59
addPayment()
C
37 24 66
runPostBookingActions()
B
38 19 68
getPaymentAmount()
A
44 16 39
getSuccessBookingResponse()
A
40 5 66
getWcStatus()
S
59 7 12
getResultData()
S
55 5 21
deleteReservation()
S
55 5 20
applyDeposit()
S
65 6 9
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
manageException()
S
69 1 7
getNew()
S
68 1 7
__construct()
S
81 1 3